# -*- coding:utf-8 -*-
import sys
from PySide2.QtWidgets import QApplication

from cgai_key.Key import Key2Frame


def start(key_frame):
    print('start')
    print(key_frame)

def pause(key_frame):
    print('pause')
    print(key_frame)

def stop(key_frame):
    print('stop')
    print(key_frame)


if __name__ == '__main__':

    app = QApplication(sys.argv)
    k = Key2Frame()
    k.startClicked.connect(start)
    k.pauseClicked.connect(pause)
    k.stopClicked.connect(stop)
    k.show()
    sys.exit(app.exec_())




